//
//  Constant.h
//  GaoXunTravel
//
//  Created by 杜梅 on 16/5/31.
//  Copyright © 2016年 May. All rights reserved.
//

#ifndef Constant_h
#define Constant_h
#define APPDELEGATE ((AppDelegate*)[UIApplication sharedApplication].delegate)
#define GESTUREPWD_KEY                      @"GESTUREPWD_KEY"
#define SYS_VERSION                         [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]
#define iOS9Later ([UIDevice currentDevice].systemVersion.floatValue >= 9.0f)
//#define SYS_VERSION                         @"1.0"
#define CHANNEL                             @"iOS"
#define APPID                               @"bd3b65b30e797c3e1a0a6660"
#define appKey                              @"gaoxun#travelhelper"
#define GX_HEAD_URL                         @"http://101.200.83.32:8103/"
//http://101.200.83.32:8103/    http://101.200.83.32:8113/gold
#define k_Notification_refreshData          @"kNotificationRefreshData"
#define DEMO_CALL 1
/**
 *  当前开发环境
 *  1   开发环境
 *  2   测试环境
 *  3   预投产环境
 *  4   线上环境
 */

#define _ENVIRONMENT 4


/////////////////////////////////当前的开发环境/////////////////////////////
#if _ENVIRONMENT == 1



#elif _ENVIRONMENT == 2


//商户平台后台服务器的域名地址
#define GX_BASE_URL @"http://192.168.1.134:800/IM/api/v1/"


#elif _ENVIRONMENT == 3


#else
#define GX_BASE_URL @"http://101.200.83.32:8113/gold/api/v1/"


#endif

#endif /* Constant_h */
